package cn.fenglaicaimi.base.util;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter@Setter@AllArgsConstructor@NoArgsConstructor
public class AjaxResult {
    private boolean result = true;
    private String message;

    public void mark(String message){
        this.result = false;
        this.message = message;
    }
}
